<?php
//加载的第一个配置文件
return [
    'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',//composer目录
    'components' => [                   //组件
        'cache' => [
            'class' => 'yii\caching\FileCache',
        ],
    ],
];
